package com.hmall.api.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 订单详情Feign客户端
 *
 * @author Zhy
 * @version 1.0
 * @date 2025-03-15 23:17
 */
@FeignClient(name = "cart-service", path = "/inner/carts")
public interface CartClient {

	@DeleteMapping
	 void deleteCartItemByIds(@RequestParam("userId") Long userId, @RequestParam("ids") List<Long> ids);

}
